#include<stdio.h>
int main()
{
	char a[]={"every thing is impossible"};
	char *p=a;
	int word=1;
	
	for(;*p!='\0';p++)
	{
		if(*p==' ')
		    word++;
	}
	
	printf("%d",word);
	return 0;
}
